<script>
	// import '@/common/css/iconfont.css'
	

	export default {
		data() {
			return {
				wxMenuData: {}
				
			}
		},
		
		onLaunch: function(options) {
			// #ifdef MP-WEIXIN
			this.wxMenuData = wx.getMenuButtonBoundingClientRect()
			console.log(this.wxMenuData)
			this.$store.commit('setwxMenuObj',this.wxMenuData)
			console.log(wx.getMenuButtonBoundingClientRect())
			// #endif
			uni.getSystemInfo({
			    success: (res) => {
					this.$store.commit("setSysInfo", res)
			        console.log(`设备型号${res.model}	`)
			        console.log(`设备像素比${res.pixelRatio}	`)
			        console.log(`屏幕宽度	${res.screenWidth}`)
			        console.log(`屏幕高度	${res.screenHeight}`)
					console.log(`状态栏的高度${res.statusBarHeight}`)
					console.log(`导航栏的高度${res.navigationBarHeight}`)
					console.log(`标题栏高度${res.titleBarHeight}`)
			        console.log(`可使用窗口宽度${res.windowWidth}`)
			        console.log(`可使用窗口高度${res.windowHeight}`)
			    }
			});
			console.log('App Launch')
		},
		
		onShow: function() {
			
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
	@import url("./common/css/iconfont.css");
	* {
		box-sizing: border-box;
	}
	.container {
		width: 100%;
		height: calc(100vh - 75px);
		overflow: hidden;
	}
	.scroll-container {
		width: 100%;
		height: 100%;
	}
	.fixbg {
		width: 100%;
		height: 100vh;
		position: fixed;
		left: 0;
		top: 0;
		background-position: center 0;
		background-size: cover;
		filter: blur(30px);
		transform: scale(1.3);
		
	}
	.fixbg2 {
		width: 100%;
		height: 100vh;
		position: fixed;
		left: 0;
		top: 0;
		background-position: center 0;
		background-size: cover;
		
		transform: scale(1.3);
		background-color: rgba(0,0,0,0.1);
		
	}
	.fixbg image {
		width: 100%;
		height:100%;
	}
	
</style>
